package com.woniuxy.yoga.service.impl;

import com.woniuxy.yoga.pojo.Courseuser;
import com.woniuxy.yoga.mapper.CourseuserMapper;
import com.woniuxy.yoga.service.CourseuserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author axq
 * @since 2020-10-23
 */
@Service
public class CourseuserServiceImpl extends ServiceImpl<CourseuserMapper, Courseuser> implements CourseuserService {

    @Autowired
    private CourseuserMapper courseuserMapper;
    @Override
    public List<Courseuser> getStu(Integer coachid) {
        return  courseuserMapper.getStu(coachid);
    }
}
